<?php
declare (strict_types=1);

namespace Plugin\Alarm\Model;

use Mine\MineModel;

class RdAlarmBroadcastRecord extends MineModel
{
    /**
     * The table associated with the model.
     *
     * @var string|null
     */
    protected ?string $table = 'rd_alarm_broadcast_record';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected array $fillable = [
        'id', 'file_id', 'second', 'device', 'type', 'start_time', 'end_time', 'created_by', 'updated_by', 'created_at', 'updated_at'
    ];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected array $casts = [
        'id' => 'integer',
        'file_id' => 'integer',
        'second' => 'decimal:2',
        'device' => 'array',
        'type' => 'integer',
        'start_time' => 'integer',
        'end_time' => 'integer',
        'created_by' => 'integer',
        'updated_by' => 'integer',
        'created_at' => 'datetime',
        'updated_at' => 'datetime',
    ];

    
}